package com.itheima.advantagesup.mapper;

import com.itheima.advantagesup.entity.SysMenu;
import com.itheima.advantagesup.entity.addRole;
import com.itheima.advantagesup.vo.MenuVO;
import com.itheima.advantagesup.vo.RoleVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface MenuMapper {
    List<SysMenu> Menu(int id);

    void addMenu(MenuVO Menu);

    void delMenu(String id);

    MenuVO rowInfoMenu(String id);

    void updateMenu(MenuVO menu);

    List<addRole> selectMenu(String id);
}
